<?php

/**
 * Enter description here...
 *
 * @author Administrator
 * @date 	$Date: 2010/05/04
 */


//set_magic_quotes_runtime(0);
define('DEDEYUYUE', dirname(dirname(__FILE__)));
$_SERVER['SCRIPT_FILENAME'] = dirname(dirname($_SERVER['SCRIPT_FILENAME'])).'/'.basename($_SERVER['SCRIPT_FILENAME']); //可能往后会出现问题 这行用来解决 主model/common.inc.php里面的问题，具体打开错误日志
require_once 'amfcms/model/common.inc.php';
require_once(DEDEINC.'/filter.inc.php');
$charset = $cfg_soft_lang;
$timestamp = time();
ob_start();
require_once DEDEINC.'/memberlogin.class.php';
require_once DEDEINC.'/dedetemplate.class.php';
if($cfg_yuyue == 'Y')
{
	showmsg('预约系统已经关闭', '-1');
	exit;
}

$dbcharset = $cfg_db_language;
if(!empty($cfg_denytelphone) && isset($telephone)){
	$denytel  = explode(',',$cfg_denytelphone);
	if(in_array($telephone,$denytel)){ echo '禁止这种行为。'; exit ;}
}

?>